package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 树苗认领记录对象 qx_chestnut_adopt_model_history
 * 
 * @author ruoyi
 * @date 2023-08-01
 */
public class QxChestnutAdoptModelHistory extends BaseEntity {
	private static final long serialVersionUID = 1L;

	private Long id;

	/** 主键标识 */
	private Long treeId;

	/** 编号 */
	@Excel(name = "编号")
	private String treeCode;

	/** 小地名 */
	@Excel(name = "小地名")
	private String smallPlaceName;

	/** 树龄 */
	@Excel(name = "树龄")
	private Long treeAge;

	/** 经度 */
	@Excel(name = "经度")
	private BigDecimal longitude;

	/** 纬度 */
	@Excel(name = "纬度")
	private BigDecimal latitude;

	/** 海拔 */
	@Excel(name = "海拔")
	private BigDecimal altitude;

	/** 预计重量 */
	@Excel(name = "预计重量")
	private BigDecimal estimatedWeight;

	/** 认养人 */
	@Excel(name = "认养人")
	private String adoptivePerson;

	/** 联系方式 */
	@Excel(name = "联系方式")
	private String personPhone;

	/** 农户 */
	@Excel(name = "农户")
	private String peasantHousehold;

	/** 春天图片 */
	@Excel(name = "春天图片")
	private String springImages;

	/** 夏天图片 */
	@Excel(name = "夏天图片")
	private String summerImages;

	/** 秋季图片 */
	@Excel(name = "秋季图片")
	private String autumnImages;

	/** 冬季图片 */
	@Excel(name = "冬季图片")
	private String winterImages;

	/** 开花期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "开花期", width = 30, dateFormat = "yyyy-MM-dd")
	private Date flowerDate;

	/** 收货期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "收货期", width = 30, dateFormat = "yyyy-MM-dd")
	private Date deliveryDate;

	/** 实际产量 */
	@Excel(name = "实际产量")
	private BigDecimal output;

	/** 冷藏日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "冷藏日期", width = 30, dateFormat = "yyyy-MM-dd")
	private Date refrigerationDate;

	/** 其他记录 */
	@Excel(name = "其他记录")
	private String otherRecords;

	/** 备注 */
	@Excel(name = "备注")
	private String remarks;

	/** 认养状态 1领养结束，2领养申请审核不通过 */
	@Excel(name = "认养状态 1领养结束，2领养申请审核不通过")
	private Long status;

	/** 领养开始时间（审核通过的时间） */
	@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
	@Excel(name = "领养开始时间", readConverterExp = "审=核通过的时间")
	private Date startDate;

	/** 领养申请时间 */
	@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
	@Excel(name = "领养申请时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date applyDate;

	/** 领养结束时间 */
	@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
	@Excel(name = "领养结束时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date endDate;

	/** 领养不通过原因 */
	@Excel(name = "结束原因")
	private String approveReson;

	private List<String> springImagesList = new ArrayList<>();
	
	private List<String> summerImagesList = new ArrayList<>();
	
	private List<String> autumnImagesList = new ArrayList<>();
	
	private List<String> winterImagesList = new ArrayList<>();

	public List<String> getSpringImagesList() {
		return springImagesList;
	}

	public void setSpringImagesList(List<String> springImagesList) {
		this.springImagesList = springImagesList;
	}

	public List<String> getSummerImagesList() {
		return summerImagesList;
	}

	public void setSummerImagesList(List<String> summerImagesList) {
		this.summerImagesList = summerImagesList;
	}

	public List<String> getAutumnImagesList() {
		return autumnImagesList;
	}

	public void setAutumnImagesList(List<String> autumnImagesList) {
		this.autumnImagesList = autumnImagesList;
	}

	public List<String> getWinterImagesList() {
		return winterImagesList;
	}

	public void setWinterImagesList(List<String> winterImagesList) {
		this.winterImagesList = winterImagesList;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setTreeId(Long treeId) {
		this.treeId = treeId;
	}

	public Long getTreeId() {
		return treeId;
	}

	public void setTreeCode(String treeCode) {
		this.treeCode = treeCode;
	}

	public String getTreeCode() {
		return treeCode;
	}

	public void setSmallPlaceName(String smallPlaceName) {
		this.smallPlaceName = smallPlaceName;
	}

	public String getSmallPlaceName() {
		return smallPlaceName;
	}

	public void setTreeAge(Long treeAge) {
		this.treeAge = treeAge;
	}

	public Long getTreeAge() {
		return treeAge;
	}

	public void setLongitude(BigDecimal longitude) {
		this.longitude = longitude;
	}

	public BigDecimal getLongitude() {
		return longitude;
	}

	public void setLatitude(BigDecimal latitude) {
		this.latitude = latitude;
	}

	public BigDecimal getLatitude() {
		return latitude;
	}

	public void setAltitude(BigDecimal altitude) {
		this.altitude = altitude;
	}

	public BigDecimal getAltitude() {
		return altitude;
	}

	public void setEstimatedWeight(BigDecimal estimatedWeight) {
		this.estimatedWeight = estimatedWeight;
	}

	public BigDecimal getEstimatedWeight() {
		return estimatedWeight;
	}

	public void setAdoptivePerson(String adoptivePerson) {
		this.adoptivePerson = adoptivePerson;
	}

	public String getAdoptivePerson() {
		return adoptivePerson;
	}

	public void setPersonPhone(String personPhone) {
		this.personPhone = personPhone;
	}

	public String getPersonPhone() {
		return personPhone;
	}

	public void setPeasantHousehold(String peasantHousehold) {
		this.peasantHousehold = peasantHousehold;
	}

	public String getPeasantHousehold() {
		return peasantHousehold;
	}

	public void setSpringImages(String springImages) {
		this.springImages = springImages;
	}

	public String getSpringImages() {
		return springImages;
	}

	public void setSummerImages(String summerImages) {
		this.summerImages = summerImages;
	}

	public String getSummerImages() {
		return summerImages;
	}

	public void setAutumnImages(String autumnImages) {
		this.autumnImages = autumnImages;
	}

	public String getAutumnImages() {
		return autumnImages;
	}

	public void setWinterImages(String winterImages) {
		this.winterImages = winterImages;
	}

	public String getWinterImages() {
		return winterImages;
	}

	public void setFlowerDate(Date flowerDate) {
		this.flowerDate = flowerDate;
	}

	public Date getFlowerDate() {
		return flowerDate;
	}

	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	public Date getDeliveryDate() {
		return deliveryDate;
	}

	public void setOutput(BigDecimal output) {
		this.output = output;
	}

	public BigDecimal getOutput() {
		return output;
	}

	public void setRefrigerationDate(Date refrigerationDate) {
		this.refrigerationDate = refrigerationDate;
	}

	public Date getRefrigerationDate() {
		return refrigerationDate;
	}

	public void setOtherRecords(String otherRecords) {
		this.otherRecords = otherRecords;
	}

	public String getOtherRecords() {
		return otherRecords;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Long getStatus() {
		return status;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public Date getApplyDate() {
		return applyDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setApproveReson(String approveReson) {
		this.approveReson = approveReson;
	}

	public String getApproveReson() {
		return approveReson;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("treeId", getTreeId())
				.append("treeCode", getTreeCode()).append("smallPlaceName", getSmallPlaceName())
				.append("treeAge", getTreeAge()).append("longitude", getLongitude()).append("latitude", getLatitude())
				.append("altitude", getAltitude()).append("estimatedWeight", getEstimatedWeight())
				.append("adoptivePerson", getAdoptivePerson()).append("personPhone", getPersonPhone())
				.append("peasantHousehold", getPeasantHousehold()).append("springImages", getSpringImages())
				.append("summerImages", getSummerImages()).append("autumnImages", getAutumnImages())
				.append("winterImages", getWinterImages()).append("flowerDate", getFlowerDate())
				.append("deliveryDate", getDeliveryDate()).append("output", getOutput())
				.append("refrigerationDate", getRefrigerationDate()).append("otherRecords", getOtherRecords())
				.append("createTime", getCreateTime()).append("createBy", getCreateBy())
				.append("updateTime", getUpdateTime()).append("updateBy", getUpdateBy()).append("remarks", getRemarks())
				.append("status", getStatus()).append("startDate", getStartDate()).append("applyDate", getApplyDate())
				.append("endDate", getEndDate()).append("approveReson", getApproveReson()).toString();
	}
}
